Other Protocols
The following protocols are available globally.
-
A
PromiseKitabstraction of aDispatchQueuethat allows for a more flexible variety of implementations. (For technical reasons,DispatchQueueitself cannot be subclassed.)Dispatchers define adispatchmethod that executes a supplied closure. Execution may be synchronous or asynchronous, serial or concurrent, and can occur on any thread.All
See moreDispatchQueues are also validDispatchers.Declaration
Swift
public protocol Dispatcher
-
///////////////////////////////////////////////////////// Cancellation An error that may represent the cancelled condition
See moreDeclaration
Swift
public protocol CancellableError : Error
View on GitHub
Other Protocols Reference